package state.after;

/**
 * @Author: Doream
 * @Date: 2022/1/30 10:52
 */
public class OpeningState extends LiftState {
    @Override
    public void open() {
        System.out.println("电梯已开启");
    }

    @Override
    public void close() {
        context.setLiftState(Context.CLOSEING_STATE);
        context.close();
    }

    @Override
    public void run() {

    }

    @Override
    public void stop() {

    }
}
